<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
    <head>
        <style>
            .error {
                color: #ff0000;
            }
            .errorblock{
                color: #000;
                background-color: #ffEEEE;
                border: 3px solid #ff0000;
                padding:8px;
                margin:16px;
            }

        </style>
    </head>

    <body>
        <h2>Sheduler </h2>

        <form:form method="POST" commandName="sheduler">
            <form:errors path="*" cssClass="errorblock" element="div"/>
            <table>
                <tr>
                    <td>Number loops : </td>
                    <td><form:input path="maxIter" /></td>
                </tr>
                <tr>
                    <td colspan="3"><input type="submit" /></td>
                </tr>

            </table>
        </form:form>
 <br>   <a href="<c:url value="data.htm"/>">Home</a>
        </br>
    </body>
</html>